import React from 'react'
import { history } from 'umi'
import './main.css'
export default function Main() {
  return (
    <div className='main'>
      <h2>Main</h2>
      <div><button onClick={() => {
        history.push('/home')

      }}>
        跳转</button>home</div>
    </div>
  )
}
